<template>
    <!-- <el-dialog title="订单详情" :visible.sync="dialogVisible" width="70%">
       
    </el-dialog> -->
    <div class="pages">
        <fieldset class="box_field">
            <legend class="box_legend">车位信息</legend>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="detail_inle">
                        <label>停车场名称</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>楼层</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>车位号</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>业主</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>共享时间段</label> <span>12312312</span>
                    </div>

                </el-col>
                <el-col :span="12">
                    <div class="detail_inle">
                        <label style="text-align: right;">车位照片</label> <el-image
                            style="width: 150px; height: 100px;margin-left: 16px;"
                            src='https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
                            fit="cover"></el-image>
                    </div>
                    <div class="detail_inle right" style="margin-top: 16px;">
                        <label style="text-align: right;">联系方式</label>
                        <span style="margin-left: 16px;">111111232343</span>
                    </div>
                </el-col>
            </el-row>


        </fieldset>

        <fieldset class="box_field" style="margin-top: 10px;">
            <legend class="box_legend">预约信息</legend>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="detail_inle">
                        <label>停车场名称</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>楼层</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>车位号</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>业主</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>共享时间段</label> <span>12312312</span>
                    </div>

                </el-col>
                <el-col :span="12">
                    <div class="detail_inle center_text">
                        <label style="text-align: right;">车位照片</label> <el-image
                            style="width: 150px; height: 100px;margin-left: 16px;"
                            src='https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
                            fit="cover"></el-image>
                    </div>
                    <div class="detail_inle right" style="margin-top: 16px;">
                        <label style="text-align: right;">联系方式</label>
                        <span style="margin-left: 16px;">111111232343</span>
                    </div>
                </el-col>
            </el-row>


        </fieldset>
        <fieldset class="box_field" style="margin-top: 10px;">
            <legend class="box_legend">订单信息</legend>
            <el-row :gutter="20">
                <el-col :span="12">
                    <div class="detail_inle">
                        <label>订单状态</label> <span style="color: cadetblue;">停车中</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>楼层</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>车位号</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle center_text ">
                        <label style="text-align: right;">车位照片</label> <el-image
                            style="width: 150px; height: 100px;margin-left: 16px;"
                            src='https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
                            fit="cover"></el-image>
                    </div>
                </el-col>
                <el-col :span="12">
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>楼层</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle" style="margin-top: 16px;">
                        <label>车位号</label> <span>12312312</span>
                    </div>
                    <div class="detail_inle right" style="margin-top: 16px;">
                        <label style="text-align: right;">联系方式</label>
                        <span style="margin-left: 16px;">111111232343</span>
                    </div>
                </el-col>
            </el-row>


        </fieldset>
       
    </div>
</template>

<script>
export default {
    data() {
        return {
            dialogVisible: false
        }
    },
    methods: {
        open(item) {
            this.dialogVisible = true
        }
    },
}
</script>

<style lang="less" scoped>
.box_field {
    border-color: rgba(190, 190, 190, 0.4);
    padding: 20px;

    .box_legend {
        padding: 0 8px;
        margin-left: 0.4rem;
        font-size: 16px;
    }
}

.detail_inle {
    font-size: 14px;
    color: black;

    & label {
        display: inline-block;
        text-align: right;
        width: 100px;
    }

    & :last-child {
        margin-left: 20px;
    }
}
.right{
    display: flex;
}
.center_text{
    display: flex;
    align-items: center;
}
.pages{
    padding: 20px;
    box-sizing: border-box;
}
</style>